<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta content="no-cache" name="Cache-Control">
<meta name=viewport content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">

<title>{$meta_title}</title>
<meta content="{$meta_keywords}" name="keywords" />
<meta content="{$meta_description}" name="description" />
<link href="{HOME_THEME_PATH}mobile/css/style.css" type="text/css" rel="stylesheet" />
<!-- 系统关键js(所有自建模板必须引用) -->
    <script type="text/javascript">var assets_path = '{ROOT_THEME_PATH}assets/';var is_mobile_cms = '1';</script>
    <script src="{LANG_PATH}lang.js" type="text/javascript"></script>
    <script src="{ROOT_THEME_PATH}assets/global/plugins/jquery.min.js" type="text/javascript"></script>
    <script src="{ROOT_THEME_PATH}assets/layer/layer.js" type="text/javascript"></script>
    <script src="{ROOT_THEME_PATH}assets/js/cms.js" type="text/javascript"></script>
    <script src="{MOBILE_THEME_PATH}js/mobile.js" type="text/javascript"></script>
<!-- 系统关键js结束 -->

<style type="text/css">
.textbox {
    position: relative;
}
.textbox.hide {
    height: 400px;
    overflow: hidden;
}
.textbox .spread {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 999;
    width: 100%;
    height: 36px;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    background:linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,1));
    cursor: pointer;
}
</style>

<script>
$(document).ready(function(){
  $("#dhmore").click(function(){
    $("#navlayer").slideToggle("slow");
	$(".arrowr").toggleClass("morex");
  });
  $(".guanbi").click(function(){
    $("#navlayer").slideUp("slow");
  });
});
</script>

<script type="text/javascript">
$(function(){
    $(".textbox.hide").each(function(){
        var p = Math.round((1-this.clientHeight/this.scrollHeight)*100);
        if (p==0)
            return;
        var div = $("<div></div>").addClass("spread").text("展开剩余"+p+"%");
        div.click(function(event){
            $(this).parent().removeClass("hide");
            $(this).remove();
        });
        $(this).append(div);
    })
});
</script>
</head>
<body>

<div class="fixhead">
  <div class="content_top">
    <div class="logo_m"> <a href="/index.php"><img src="{HOME_THEME_PATH}mobile/images/logo_m.png"></a> </div>
    <div class="context"> </div>
    <div class="arrowr"> <a href="#" class="more" id="dhmore"></a> </div>
  </div>
  <div class="cnsnav">
    <div class="navlayer" id="navlayer">
      <div class="cnsnav">
        <ul id="">
          <li class="{if $indexc}selimg{/if}"><a href="/index.php">首页</a></li>
          {category module=share id=20,1,3,5,28,29,30}
           <li class="{if IS_SHARE && $catid && in_array($catid, $t.catids)}selimg{/if}"><a href="{$t.url}">{$t.name}</a> 
         </li>
          {/category}
         {cache name=module-content return=m}
         {if !$m.share}
         <li class="{if MOD_DIR==$m.dirname}selimg{/if}"><a href="{$m.url}">{$m.name}</a></li>
         {/if}
		 {/cache}
          
        </ul>
      </div>
    </div>
  </div>

</div>
<div style="margin-top:46px;"></div>



<div id="tabBox2" class="tabBox">
  <div class="wz">
    <h2>当前位置：  {dr_catpos($catid, '&gt;', true, '<a href="[url]">[name]</a>')} &gt; 正文 </h2>
  </div>
</div>  

<main>
  <section> 
  <h3 align="left" style=" padding:10px;line-height:30px;">{$title}</h3>
  <article class="pd10">
  <div class="info">来源：{if $laiyuan = $laiyuan}{$laiyuan}{else}佚名{/if}&nbsp;&nbsp;&nbsp;&nbsp;时间:<time>{$updatetime}</time>&nbsp;&nbsp;&nbsp;&nbsp; <i style="display:none;">点击：{dr_show_hits($id)}次 </i>&nbsp;&nbsp;&nbsp;&nbsp;评论:{$comments}</div>
  <div class="ad_wap"><a href="/"></a></div>
  <div class="content">
    
  <div class="textbox hide">
  {$content}
	
  </div>

  </article>
  </section>
</main>
<div style="padding:10px;">
{if IS_COMMENT}
{dr_module_comment(MOD_DIR, $id)}
{/if}
</div>
<div class="clear"></div>
<div class="tabBox">
  <div class="hd"><h2>相关文章<span>Related</span></h2></div>
  <div class="bd">
    <div class="con">
      <ul>
   {related module=news tag=$tag num=8}
    <li> <a href="{$t.url}">{dr_strcut($t.title, 32)}</a></li>
   {/related}

      </ul>
    </div>
  </div>
</div>
<a class="readMore" href="javascript:history.back(-1)">返回栏目</a>
<div class="clear"></div>

<!-- 效果导航 -->
{php $signPackage = \Phpcmf\Service::L('jssdk', 'weixin')->GetSignPackage();}
<script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script>
    wx.config({
        debug: false,
        appId: '<?php echo $signPackage["appId"];?>',
        timestamp: <?php echo $signPackage["timestamp"];?>,
        nonceStr: '<?php echo $signPackage["nonceStr"];?>',
        signature: '<?php echo $signPackage["signature"];?>',
        jsApiList: ['onMenuShareTimeline', 'onMenuShareQQ', 'onMenuShareQZone', 'onMenuShareAppMessage']
    });
    wx.ready(function () {
        // 在这里调用 API
        wx.onMenuShareTimeline({
            title: '{$title}', // 分享标题
            desc: '{$description}', // 分享描述
            link: '{dr_now_url()}', // 分享链接
            imgUrl: '{dr_get_file($thumb)}', // 分享图标
            success: function () {
                // 用户确认分享后执行的回调函数
            },
            cancel: function () {
                // 用户取消分享后执行的回调函数
            }
        });
        wx.onMenuShareAppMessage({
            title: '{$title}', // 分享标题
            desc: '{$description}', // 分享描述
            link: '{dr_now_url()}', // 分享链接
            imgUrl: '{dr_get_file($thumb)}', // 分享图标
            success: function () {
                // 用户确认分享后执行的回调函数
            },
            cancel: function () {
                // 用户取消分享后执行的回调函数
            }
        });
        wx.onMenuShareQQ({
            title: '{$title}', // 分享标题
            desc: '{$description}', // 分享描述
            link: '{dr_now_url()}', // 分享链接
            imgUrl: '{dr_get_file($thumb)}', // 分享图标
            success: function () {
                // 用户确认分享后执行的回调函数
            },
            cancel: function () {
                // 用户取消分享后执行的回调函数
            }
        });
        wx.onMenuShareQZone({
            title: '{$title}', // 分享标题
            desc: '{$description}', // 分享描述
            link: '{dr_now_url()}', // 分享链接
            imgUrl: '{dr_get_file($thumb)}', // 分享图标
            success: function () {
                // 用户确认分享后执行的回调函数
            },
            cancel: function () {
                // 用户取消分享后执行的回调函数
            }
        });

    });
</script>

{template "footer.html"}